#include "cppTutorComposition.h"

#include "cppTutorLog.h"
extern CcppTutorLog Log;

Teacher :: Teacher(string strName) : m_strName(strName)
{
    Log << "ENTER : Teacher :: Teacher" << endl;
    Log << "EXIT  : Teacher :: Teacher" << endl;
}

Teacher :: ~Teacher()
{
    Log << "ENTER : Teacher :: ~Teacher" << endl;
    Log << "EXIT  : Teacher :: ~Teacher" << endl;
}

string Teacher :: GetName() 
{ 
    Log << "ENTER : Teacher :: GetName()" << endl;
    Log << "EXIT  : Teacher :: GetName() [" << m_strName << "," << __LINE__ << "]"<< endl;
    return m_strName; 
}

Department :: Department(Teacher *pcTeacher = NULL) : m_pcTeacher(pcTeacher)
{
    Log << "ENTER : Department :: Department" << endl;
    Log << "EXIT  : Department :: Department" << endl;
}

Department :: ~Department()
{
    Log << "ENTER : Department :: ~Department" << endl;
    Log << "EXIT  : Department :: ~Department" << endl;
}
